import request from '@/service'
/**
 * 获取左侧菜单权限列表
 */
export const getMenuList = () => {
  return request({
    method: 'GET',
    url: 'menus'
  })
}

/**
 * 获取权限列表
 */
export const getRightsList = () => {
  return request({
    method: 'GET',
    url: 'rights/list'
  })
}
